package Lesson17.Cars;

public class CarDemo {

	public static void main(String[] args) 
	{
		Jeep jeep = new Jeep();
		System.out.println("+++ JEEP +++");
		jeep.model = "Grand Cherokee";
		jeep.startEngine();
		jeep.switch4x4();
		jeep.accelerate(320);
		
		SportCar lambo = new SportCar();
		System.out.println("+++ LAMBO +++");
		lambo.model = "Diablo";
		lambo.startEngine();
		lambo.accelerate(350);
		lambo.switchTurbo();
		
		System.out.println(lambo);
		System.out.println(jeep);

	}

}
